]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
11 months agowebapp: Remove support for local pairing
Joey Hess [Mon, 29 Sep 2025 16:42:48 +0000 (12:42 -0400)]
webapp: Remove support for local pairing

As a feature only supported by the webapp, and not by git-annex at the
command line, this is by now a very obscure corner of git-annex, and not
one I want to keep maintaining.

It's worth removing it to avoid the security expsure alone. People using
the assistant w/o the webapp probably don't expect it to be listening on
a UDP port for a handrolled protocol, but it was.

The webapp has supported pairing via magic-wormhole since 2016, which
makes a link including between local computers, albeit with the overhead
of tor. That sort of covers the same use case. Of course advanced users
can easily enough add a ssh remote to their repository themselves, using
a hostname on the local network.

Sponsored-by: unqueued
11 months agoremove old assistant release notes
Joey Hess [Mon, 29 Sep 2025 16:40:10 +0000 (12:40 -0400)]
remove old assistant release notes

11 months agoadd news item for git-annex 10.20250929
Joey Hess [Mon, 29 Sep 2025 15:30:48 +0000 (11:30 -0400)]
add news item for git-annex 10.20250929

11 months agoreleasing package git-annex version 10.20250929
Joey Hess [Mon, 29 Sep 2025 15:30:29 +0000 (11:30 -0400)]
releasing package git-annex version 10.20250929

11 months agoFix build with ghc 9.0.2.
Joey Hess [Mon, 29 Sep 2025 15:27:52 +0000 (11:27 -0400)]
Fix build with ghc 9.0.2.

11 months agoresponse
Joey Hess [Mon, 29 Sep 2025 15:18:56 +0000 (11:18 -0400)]
response

11 months agocomment
Joey Hess [Mon, 29 Sep 2025 15:13:26 +0000 (11:13 -0400)]
comment

11 months agoadd libghc-unbounded-delays-dev to debian/control deps
Joey Hess [Mon, 29 Sep 2025 15:11:20 +0000 (11:11 -0400)]
add libghc-unbounded-delays-dev to debian/control deps

11 months agodon't set locale encoding when opening binary file
Joey Hess [Mon, 29 Sep 2025 15:06:18 +0000 (11:06 -0400)]
don't set locale encoding when opening binary file

importfeed: Fix encoding issues parsing feeds when built with OsPath.

11 months agocomment typo
Joey Hess [Mon, 29 Sep 2025 14:46:51 +0000 (10:46 -0400)]
comment typo

11 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 29 Sep 2025 14:40:19 +0000 (10:40 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

11 months agoenableremote: Allow type= to be provided when it does not change the type of the...
Joey Hess [Mon, 29 Sep 2025 14:40:10 +0000 (10:40 -0400)]
enableremote: Allow type= to be provided when it does not change the type of the special remote

Fixes breakage in datalad test suite
https://github.com/datalad/datalad/issues/7747

Also, revert the change I earlier made to git-annex's own test suite due to
the same problem.

11 months agoAdded a comment: Cross link to importfeed parsing
ewen [Sun, 28 Sep 2025 22:49:31 +0000 (22:49 +0000)]
Added a comment: Cross link to importfeed parsing

11 months agoAdded a comment: Feed seems to now be parsed as UTF-8 characters, not binary mode
ewen [Sun, 28 Sep 2025 22:42:32 +0000 (22:42 +0000)]
Added a comment: Feed seems to now be parsed as UTF-8 characters, not binary mode

11 months agoAdded a comment: importfeed: utf-8 XML is (now?) parsed into 8-bit characters
ewen [Sun, 28 Sep 2025 22:24:23 +0000 (22:24 +0000)]
Added a comment: importfeed: utf-8 XML is (now?) parsed into 8-bit characters

11 months agoAdded a comment: Example still working feed
ewen [Sun, 28 Sep 2025 22:05:57 +0000 (22:05 +0000)]
Added a comment: Example still working feed

11 months agoAdded a comment: Debug output
ewen [Sun, 28 Sep 2025 21:58:18 +0000 (21:58 +0000)]
Added a comment: Debug output

11 months agoAdded a comment: Previous working build was 20250828
ewen [Sun, 28 Sep 2025 21:35:08 +0000 (21:35 +0000)]
Added a comment: Previous working build was 20250828

11 months agoimportfeed: Enum.toEnum{Word8}: tag (8217) is outside of bounds (0,255)
ewen [Sun, 28 Sep 2025 21:32:35 +0000 (21:32 +0000)]
importfeed: Enum.toEnum{Word8}: tag (8217) is outside of bounds (0,255)

11 months ago(no commit message)
xentac [Sat, 27 Sep 2025 23:26:41 +0000 (23:26 +0000)]

11 months agoAdded a comment
yarikoptic [Sat, 27 Sep 2025 17:27:51 +0000 (17:27 +0000)]
Added a comment

11 months agomissing build dep for debian?
yarikoptic [Sat, 27 Sep 2025 12:19:14 +0000 (12:19 +0000)]
missing build dep for debian?

11 months ago(no commit message)
jnkl [Sat, 27 Sep 2025 12:08:57 +0000 (12:08 +0000)]

11 months ago(no commit message)
caleb@2b0d6f0eabf955cc8fd04c634b09f0ca4aad9233 [Thu, 25 Sep 2025 23:04:55 +0000 (23:04 +0000)]

11 months agoRemove the Servant build flag
Joey Hess [Thu, 25 Sep 2025 17:40:06 +0000 (13:40 -0400)]
Remove the Servant build flag

Always build with support for annex+http urls and git-annex p2phttp.

11 months agoremove unnecessary import
Joey Hess [Thu, 25 Sep 2025 17:27:43 +0000 (13:27 -0400)]
remove unnecessary import

11 months agoadd news item for git-annex 10.20250925
Joey Hess [Thu, 25 Sep 2025 17:22:02 +0000 (13:22 -0400)]
add news item for git-annex 10.20250925

11 months agoreleasing package git-annex version 10.20250925
Joey Hess [Thu, 25 Sep 2025 17:21:55 +0000 (13:21 -0400)]
releasing package git-annex version 10.20250925

11 months agoAdded a comment
nadir [Wed, 24 Sep 2025 21:52:32 +0000 (21:52 +0000)]
Added a comment

11 months agoupdate
Joey Hess [Wed, 24 Sep 2025 17:04:51 +0000 (13:04 -0400)]
update

11 months agocomments
Joey Hess [Wed, 24 Sep 2025 16:54:20 +0000 (12:54 -0400)]
comments

11 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 24 Sep 2025 16:21:32 +0000 (12:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

11 months agopreparing for a release
Joey Hess [Wed, 24 Sep 2025 16:06:45 +0000 (12:06 -0400)]
preparing for a release

11 months agoreorder
Joey Hess [Wed, 24 Sep 2025 16:05:45 +0000 (12:05 -0400)]
reorder

11 months agofixed
Joey Hess [Wed, 24 Sep 2025 16:03:18 +0000 (12:03 -0400)]
fixed

11 months agoAdded a comment: the X prefix conflicts with the eXternal backend namespace
Arnie97 [Wed, 24 Sep 2025 12:05:05 +0000 (12:05 +0000)]
Added a comment: the X prefix conflicts with the eXternal backend namespace

11 months ago(no commit message)
jnkl [Tue, 23 Sep 2025 18:50:19 +0000 (18:50 +0000)]

11 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 23 Sep 2025 17:57:09 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

11 months agoclean up imports needed by old versions of ghc
Joey Hess [Tue, 23 Sep 2025 17:55:13 +0000 (13:55 -0400)]
clean up imports needed by old versions of ghc

Now that ghc 9.0.2 is the oldest supported version.

Eg cruft from
https://web.archive.org/web/20190424185034/https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid

Sponsored-by: Jack Hill
11 months ago(no commit message)
jnkl [Tue, 23 Sep 2025 17:48:41 +0000 (17:48 +0000)]

11 months agoavoid unused import on Windows
Joey Hess [Tue, 23 Sep 2025 17:11:32 +0000 (13:11 -0400)]
avoid unused import on Windows

11 months agofix build warnings
Joey Hess [Tue, 23 Sep 2025 17:11:04 +0000 (13:11 -0400)]
fix build warnings

11 months agofix windows build
Joey Hess [Tue, 23 Sep 2025 17:02:24 +0000 (13:02 -0400)]
fix windows build

11 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 23 Sep 2025 16:54:33 +0000 (12:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

11 months agoinvalidate recorded content identifier tree when export changes
Joey Hess [Tue, 23 Sep 2025 16:52:55 +0000 (12:52 -0400)]
invalidate recorded content identifier tree when export changes

Fix bug that made changes to a special remote sometimes be missed when
importing a tree from it. The diff import would miss when a change was
exported, then manually undone on the special remote (eg deleting a newly
exported file). A full import is needed to catch such changes.

After upgrading, any such missed changes will be included in the next
tree imported from a special remote. This happens because the previously
recorded content identifier tree does not have export information included,
so it is treated as invalid, and a full import is done.

Fixes reversion introduced in version 10.20230626, commit
40017089f268391f79226592850b58855cdbf808

Unfortunately, this does mean that after each export, the next import will
be a full import. Which can take significantly longer than the diff import
does, when there are a lot of files in the tree.

It would be better if exporting also update the content identifier tree.
However, I don't know if that can be done inexpensively. It would be future
optimisation work, in any case.

(That could only be done for an export that is run in the same
repository as the import. When an export is run in a different repository,
the export.log gets updated, and that propagates to the repository where
import is later run. At that point, a full import is done.)

Sponsored-by: Luke T. Shumaker
11 months agoremove accidentially added debug prints
Joey Hess [Tue, 23 Sep 2025 15:34:16 +0000 (11:34 -0400)]
remove accidentially added debug prints

11 months ago(no commit message)
yarikoptic [Tue, 23 Sep 2025 14:26:07 +0000 (14:26 +0000)]

11 months agoWindows still FTBFS
yarikoptic [Tue, 23 Sep 2025 14:24:30 +0000 (14:24 +0000)]
Windows still FTBFS

11 months agothought
Joey Hess [Tue, 23 Sep 2025 03:55:22 +0000 (23:55 -0400)]
thought

11 months agoworse
Joey Hess [Tue, 23 Sep 2025 03:48:46 +0000 (23:48 -0400)]
worse

11 months agopromote forum post to bug, analysis
Joey Hess [Mon, 22 Sep 2025 23:30:02 +0000 (19:30 -0400)]
promote forum post to bug, analysis

11 months agofix test suite
Joey Hess [Mon, 22 Sep 2025 19:00:26 +0000 (15:00 -0400)]
fix test suite

dfbf76e2ca50d31eca6dee253c5bf3c892301463 broke it.

enableremote with the same type= as initremote had before might be worth
allowing, but I'll wait and see if someone else complains

11 months agoprevent deadlock when reconcileStaged runs restagePointerFiles
Joey Hess [Mon, 22 Sep 2025 18:56:50 +0000 (14:56 -0400)]
prevent deadlock when reconcileStaged runs restagePointerFiles

Fix hang that could occur when using git-annex adjust on a branch with a
number of files greater than annex.queuesize. Or potentially other
commands.

When reconcileStaged is running, the database is being opened. But
restagePointerFiles closes the database, and later writes to it. So it will
deadlock if called by reconcileStaged.

The deadlock occurred when the git queue happened to be full, causing
adding a call to restagePointerFiles to it to flush the queue and
restagePointerFiles to run at the wrong time.

Fixed by making reconcileStaged, when it populates or depopulates a pointer
file, arrange for restagePointerFiles to be run as a cleanup action, rather
than from the git queue.

But, what if restagePointerFiles is already in the git queue before
reconcileStaged is run? If it adds anything else to the git queue, causing
the queue to flush, it would still deadlock. To avoid this hypothetical
situation, added a Annex.inreconcilestaged, and made restagePointerFiles
check it and not do anything.

Note that, I did consider the simpler approach of only running
restagePointerFiles as a cleanup action, rather than from the git queue.
But see commit 6a3bd283b8af53f810982e002e435c0d7c040c59 for why it was made
to use the queue in the first place. I wanted to avoid tying this bug fix
to a behavior change.

Sponsored-by: mycroft
11 months agoupdate
Joey Hess [Mon, 22 Sep 2025 16:07:16 +0000 (12:07 -0400)]
update

11 months agocomment
Joey Hess [Mon, 22 Sep 2025 15:19:13 +0000 (11:19 -0400)]
comment

11 months agocomment
Joey Hess [Mon, 22 Sep 2025 15:15:32 +0000 (11:15 -0400)]
comment

11 months agocomment
Joey Hess [Mon, 22 Sep 2025 15:10:32 +0000 (11:10 -0400)]
comment

11 months agocomment
Joey Hess [Mon, 22 Sep 2025 15:02:24 +0000 (11:02 -0400)]
comment

11 months agoenableremote: Disallow using type= to attempt to change the type of an existing remote
Joey Hess [Mon, 22 Sep 2025 14:54:16 +0000 (10:54 -0400)]
enableremote: Disallow using type= to attempt to change the type of an existing remote

Changing the type out from under an existing special remote exposes the
existing config to something that may interpret it wildly differently. As
seen in the bug report, this can even result in behavior that makes
git-annex say it's buggy. So prevent the user from doing this. --sameas is
the better way.

Sponsored-by: Kevin Mueller
11 months agocomment
Joey Hess [Mon, 22 Sep 2025 14:27:16 +0000 (10:27 -0400)]
comment

11 months agoAdd git-remote-p2p-annex and git-remote-tor-annex to standalone builds
Joey Hess [Mon, 22 Sep 2025 14:20:36 +0000 (10:20 -0400)]
Add git-remote-p2p-annex and git-remote-tor-annex to standalone builds

11 months ago(no commit message)
matrss [Sat, 20 Sep 2025 17:54:22 +0000 (17:54 +0000)]

12 months agofix windows build
Joey Hess [Thu, 18 Sep 2025 15:59:22 +0000 (11:59 -0400)]
fix windows build

12 months agoresponse
Joey Hess [Thu, 18 Sep 2025 15:54:51 +0000 (11:54 -0400)]
response

12 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 18 Sep 2025 15:07:20 +0000 (11:07 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

12 months agoFTBFS on Windows
yarikoptic [Tue, 16 Sep 2025 20:48:22 +0000 (20:48 +0000)]
FTBFS on Windows

12 months agotypo
Joey Hess [Tue, 16 Sep 2025 20:38:54 +0000 (16:38 -0400)]
typo

12 months agoAdded a comment
yarikoptic [Tue, 16 Sep 2025 19:34:27 +0000 (19:34 +0000)]
Added a comment

12 months agoAdded a comment
yarikoptic [Tue, 16 Sep 2025 19:33:40 +0000 (19:33 +0000)]
Added a comment

12 months agoannex.assistant.allowunlocked
Joey Hess [Tue, 16 Sep 2025 18:58:26 +0000 (14:58 -0400)]
annex.assistant.allowunlocked

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
12 months agofix bug in recent commit
Joey Hess [Tue, 16 Sep 2025 18:32:04 +0000 (14:32 -0400)]
fix bug in recent commit

12 months agotag repronim based on https://git-annex.branchable.com/forum/Is_there_a_way_to_have_a...
Joey Hess [Tue, 16 Sep 2025 17:45:36 +0000 (13:45 -0400)]
tag repronim based on https://git-annex.branchable.com/forum/Is_there_a_way_to_have_assistant_add_files_locked__63__/#comment-096bedb2d22d5aae6a51a53179372d4f

12 months agoimprove example
Joey Hess [Tue, 16 Sep 2025 17:34:54 +0000 (13:34 -0400)]
improve example

12 months agoclose
Joey Hess [Tue, 16 Sep 2025 17:27:25 +0000 (13:27 -0400)]
close

12 months agouse giveup not error
Joey Hess [Tue, 16 Sep 2025 17:27:01 +0000 (13:27 -0400)]
use giveup not error

This is not debugging a git-annex bug, so no stack trace needed.

12 months agoimprove error message when SETCREDS overwrites git-annex config
Joey Hess [Tue, 16 Sep 2025 17:22:14 +0000 (13:22 -0400)]
improve error message when SETCREDS overwrites git-annex config

That is not allowed, so it's not a bug in git-annex when it happens and
instead tell the special remote developer how it's messed up.

Note that currently only Remote.External can overwrite the parsed remote
config with a PassedThrough value. PassedThrough values are otherwise
only generated for configs that are not parsed by the remote config
parser.

Sponsored-by: Joshua Antonishen
12 months agofixed
Joey Hess [Tue, 16 Sep 2025 16:47:21 +0000 (12:47 -0400)]
fixed

12 months agoclose
Joey Hess [Tue, 16 Sep 2025 15:00:30 +0000 (11:00 -0400)]
close

12 months agocomment
Joey Hess [Tue, 16 Sep 2025 14:44:04 +0000 (10:44 -0400)]
comment

12 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 16 Sep 2025 14:36:19 +0000 (10:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

12 months agoset locale encoding after fdTohandle
Joey Hess [Tue, 16 Sep 2025 01:33:10 +0000 (21:33 -0400)]
set locale encoding after fdTohandle

fdToHandle does not set the usual system locale encoding,
so when the Handle is used for any String IO, it needs to be done
manually for correctness.

I don't know if this fixes any bugs. It might eg, fix a bug with
multicast receive of a file.

Sponsored-by: Leon Schuermann
12 months agoAdded a comment
yarikoptic [Tue, 16 Sep 2025 00:40:22 +0000 (00:40 +0000)]
Added a comment

12 months agoboot libs
Joey Hess [Mon, 15 Sep 2025 23:58:54 +0000 (19:58 -0400)]
boot libs

12 months agowork around file-io not setting locale encoding when opening a Handle
Joey Hess [Mon, 15 Sep 2025 23:25:03 +0000 (19:25 -0400)]
work around file-io not setting locale encoding when opening a Handle

Works around this bug https://github.com/haskell/file-io/issues/45

The fix is in Utility.FileIO.CloseOnExec because all use of file-io is
already wrapped through that module. Although perhaps that ought to be
refactored at this point.

I'd hope that file-io will eventually fix this bug, and also provide
CloseOnExec variants of its functions. That would allow depending on the
fixed version, and removing this ugly code.

Note that, functions like readFile that don't care about the encoding
due to reading/writing a ByteString were kept optimally fast by not
setting the encoding. This avoids an IORef read and write per open.

Sponsored-by: Graham Spencer
12 months agobug
Joey Hess [Mon, 15 Sep 2025 22:50:42 +0000 (18:50 -0400)]
bug

12 months agorequire_OsPath branch
Joey Hess [Mon, 15 Sep 2025 20:37:53 +0000 (16:37 -0400)]
require_OsPath branch

12 months agocomment
Joey Hess [Mon, 15 Sep 2025 20:13:25 +0000 (16:13 -0400)]
comment

12 months agoupdate
Joey Hess [Mon, 15 Sep 2025 18:27:45 +0000 (14:27 -0400)]
update

12 months agocomment
Joey Hess [Mon, 15 Sep 2025 18:25:08 +0000 (14:25 -0400)]
comment

12 months agosmall optimisation
Joey Hess [Mon, 15 Sep 2025 17:49:14 +0000 (13:49 -0400)]
small optimisation

12 months agodrop problem end characters from filename operating on String not RawFilePath
Joey Hess [Mon, 15 Sep 2025 17:42:50 +0000 (13:42 -0400)]
drop problem end characters from filename operating on String not RawFilePath

Fix bug that could cause an invalid utf-8 sequence to be used in a
temporary filename when the input filename was valid utf-8.

Sponsored-by: k0ld
12 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 15 Sep 2025 17:15:41 +0000 (13:15 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

12 months agofix mispaste of comment
Joey Hess [Mon, 15 Sep 2025 17:14:56 +0000 (13:14 -0400)]
fix mispaste of comment

12 months agoAdded a comment
yarikoptic [Mon, 15 Sep 2025 17:11:51 +0000 (17:11 +0000)]
Added a comment

12 months agocomment
Joey Hess [Mon, 15 Sep 2025 16:15:51 +0000 (12:15 -0400)]
comment

12 months agoreopen
Joey Hess [Mon, 15 Sep 2025 16:07:29 +0000 (12:07 -0400)]
reopen

12 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 15 Sep 2025 16:04:06 +0000 (12:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

12 months agofix p2phttp worker thread leak with deleted repository LOCKCONTENT
Joey Hess [Mon, 15 Sep 2025 15:59:37 +0000 (11:59 -0400)]
fix p2phttp worker thread leak with deleted repository LOCKCONTENT

p2phttp: Fix a hang that could occur when used with --directory, and a
repository in the repository got removed.

It could leak up to -J number of worker threads, but this only affected a
client trying to access the deleted repository.

It may be that this could also affect a non-deleted repository, and also
leak a worker thread, if invalid p2p protocol is sent.

12 months agoAdded a comment
yarikoptic [Thu, 11 Sep 2025 15:46:53 +0000 (15:46 +0000)]
Added a comment

12 months agoAdded a comment
yarikoptic [Thu, 11 Sep 2025 12:30:50 +0000 (12:30 +0000)]
Added a comment